Total Complexity | 81 |
Dependencies | 8 |
Dependents | 2 |
Total lines | 367 |
Lines of code | 233 |
Logical lines of code | 130 |
Comment lines | 89 |
Methods | 14 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
getOffersToDisplay() | 38 | 21 | 61 | |
pickOffer() | 40 | 19 | 56 | |
applyDiscounts() | 58 | 8 | 13 | |
addCampaignNotices() | 56 | 7 | 16 | |
init() | 54 | 4 | 19 | |
addOfferText() | 59 | 4 | 13 | |
offerPriceHtml() | 63 | 4 | 9 | |
getOffersHtml() | 62 | 3 | 11 | |
removeInvalidOffers() | 66 | 3 | 8 | |
addOrderItemMeta() | 71 | 3 | 5 | |
removeQuantityInput() | 70 | 2 | 6 | |
showOffers() | 79 | 1 | 3 | |
saveStats() | 75 | 1 | 4 | |
getDisplayLocations() | 64 | 1 | 9 |